package bff

import (
	"fmt"
	"gctl/pkg"
	"github.com/spf13/cobra"
)

func BffRouter(cmd *cobra.Command, args []string) {
	app, err := cmd.Flags().GetString("app")
	if err != nil {
		fmt.Println(err)
		return
	}

	bff, err := cmd.Flags().GetString("bff")
	if err != nil {
		fmt.Println(err)
		return
	}

	pkg.FileInit(app, bff, "bff")

}
